/**
 * @author Victar Liaskovich 
 */
package com.devunion.bogdan.io;

public class DataSourceProvider {
    private DataSource dataSource;

    private static DataSourceProvider instance;

    public static DataSourceProvider getInstance() {
        if (instance == null) {
            instance = new DataSourceProvider();
        }

        return instance;
    }

    private DataSourceProvider() {
        dataSource = new MorenaTwainDataSource();
    }

    public DataSource getDataSource() {
        return dataSource;
    }
}
